﻿using System;

namespace ElGamalEncryption
{
    public static class BytesArrayExtension
    {
        public static void Print(this byte[] ar, string name)
        {
            Console.WriteLine(name);
            for (int i = 0; i < ar.Length; i++)
            {
                Console.Write((char)ar[i]);
            }
            Console.WriteLine();
        }
    }
}